package org.example.ai_chat.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
@Data
@Schema(description = "AI聊天记录表")
public class ai_memory {
    private Integer id;
    private Integer conversation_id;
    private String content;
    private String type;
    private Date timestamp;
    private Integer is_deleted;

    public ai_memory() {

    }
    public ai_memory(Integer id, Integer conversation_id, String content, String type, Date timestamp, Integer is_deleted) {
        this.id = id;
        this.conversation_id = conversation_id;
        this.content = content;
        this.type = type;
        this.timestamp = timestamp;
        this.is_deleted = is_deleted;
    }
}
